<?php
/* @var $this ProjectItemController */
/* @var $data ProjectItem */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('Project')); ?>:</b>
	<?php echo CHtml::encode($data->project->project_name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('Item')); ?>:</b>
	<?php echo CHtml::encode($data->item->item_desc); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('qty_request')); ?>:</b>
	<?php echo CHtml::encode($data->qty_request).' '.($data->item->unit); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('qty_used')); ?>:</b>
	<?php echo CHtml::encode($data->qty_used) .' '.($data->item->unit); ?>
	<br />


	<b><?php /* echo CHtml::encode($data->getAttributeLabel('qty_request_amount')); ?>:</b>
	<?php echo CHtml::encode($data->qty_request_amount); ?>
	<br />

	
	<b><?php echo CHtml::encode($data->getAttributeLabel('qty_used_amount')); ?>:</b>
	<?php echo CHtml::encode($data->qty_used_amount); ?>
	<br />

	<?php 
	<b><?php echo CHtml::encode($data->getAttributeLabel('total_savings')); ?>:</b>
	<?php echo CHtml::encode($data->total_savings); ?>
	<br />

	*/ ?>

</div>